//
//  YDPeripheral.h
//  IngCard
//
//  Created by kf on 2017/5/26.
//  Copyright © 2017年 IngDan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>


@interface YDPeripheral : NSObject

+(instancetype) peripheral:(CBPeripheral*)peripheral
         advertisementData:(NSDictionary*)advertisementData
                      rssi:(NSNumber *)RSSI;

@property(nonatomic, strong) CBPeripheral *peripheral;
@property(nonatomic, strong) NSDictionary *advertisementData;
@property(nonatomic, strong) NSNumber *RSSI;

@property(nonatomic, strong) NSString *name;

@end
